package com.jgzx.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel(value = "登录请求DTO")
@Data
public class LoginDTO {

    @ApiModelProperty(value = "登录名，用户名或者手机号", required = true)
    @NotEmpty(message = "登录名不能为空")
    private String login_name;

    @ApiModelProperty(value = "登陆密码", required = true)
    @NotEmpty(message = "登陆密码不能为空")
    private String login_pwd;

    @ApiModelProperty(value = "图形验证码")
    private String code;

    @ApiModelProperty(value = "是否强制登录", example = "false")
    private boolean force = false;

    @ApiModelProperty(value = "uuid")
    private String uuid;
}
